package cn.com.generaldata.os.pojo;

import com.sun.xml.internal.bind.CycleRecoverable;

public class IndicatorAssociateResult implements java.io.Serializable, CycleRecoverable {

	private static final long serialVersionUID = -1574273762783810614L;

	private String id; // ID
	private Integer indicatorId; // 指标ID
	private String selfCode;// 自产业代码
	private String assCode;// 关联产业代码
	private Double indicatorValue;// 关联值
	private String areaId;// 区划ID
	private Integer year; // 年份

	public IndicatorAssociateResult() {
	}

	/**
	 * 解决CXF循环引用问题.
	 * 
	 * @param arg0
	 * @return
	 */
	@Override
	public Object onCycleDetected(Context arg0) {
		IndicatorAssociateResult temp = new IndicatorAssociateResult();
		temp.setId(id);
		return temp;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getIndicatorId() {
		return indicatorId;
	}

	public void setIndicatorId(Integer indicatorId) {
		this.indicatorId = indicatorId;
	}

	public String getSelfCode() {
		return selfCode;
	}

	public void setSelfCode(String selfCode) {
		this.selfCode = selfCode;
	}

	public String getAssCode() {
		return assCode;
	}

	public void setAssCode(String assCode) {
		this.assCode = assCode;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Double getIndicatorValue() {
		return indicatorValue;
	}

	public void setIndicatorValue(Double indicatorValue) {
		this.indicatorValue = indicatorValue;
	}

	public IndicatorAssociateResult(String id, Integer indicatorId, String selfCode, String assCode,
			Double indicatorValue, String areaId, Integer year) {
		super();
		this.id = id;
		this.indicatorId = indicatorId;
		this.selfCode = selfCode;
		this.assCode = assCode;
		this.indicatorValue = indicatorValue;
		this.areaId = areaId;
		this.year = year;
	}

}
